package com.example.makerspace.dto;
import com.example.makerspace.model.ProductAttribute;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value="暂存产品实体类",description="暂存产品实体类")
public class StagingProductDTO extends  BaseDTO{
    public final static String DEMAND_NAME = "demand_name";
    @ApiModelProperty(value = "产品名称", required = true)
    private String demandName;
    @ApiModelProperty(value = "分类", required = true)
    private String category;
    @ApiModelProperty(value = "关键词", required = true)
    private List<String> keyword;
    @ApiModelProperty(value = "需求描述", required = true)
    private List<String> demandDesc;
    @ApiModelProperty(value = "图片", required = true)
    private List<MultipartFile> picture;
    @ApiModelProperty(value = "产品概述", required = true)
    private  String productOverview;
    @ApiModelProperty(value = "产品优势", required = true)
    private  String productAdvantages;
    @ApiModelProperty(value = "公司信息", required = true)
    private  String companyInformation;
    @ApiModelProperty(value = "公司地址", required = true)
    private  String companyAddress;
    @ApiModelProperty(value = "公司名", required = true)
    private  String companyName;
    @ApiModelProperty(value = "用户名", required = true)
    private  String username;
    @ApiModelProperty(value = "成果介绍", required = true)
    private  String achievementDecs;
    @ApiModelProperty(value = "公司资质", required = true)
    private  String companyQualifications;
    @ApiModelProperty(value = "应用案例", required = true)
    private  String applicationExamples;
    @ApiModelProperty(value = "成果信息", required = true)
    private List<MultipartFile> outcomeInformation;
    @ApiModelProperty(value = "产品视频", required = true)
    private MultipartFile  productVideos;
    @ApiModelProperty(value = "产品属性", required = true)
    private List<ProductAttribute> productAttribute;
    @ApiModelProperty(value = "附件", required = true)
    private  List<MultipartFile> attachment;
    @ApiModelProperty(value = "是否公开", required = true)
    private  Integer isPublic;
    @ApiModelProperty(value = "审核失败原因", required = true)
    private  String feedback;
}
